<?php echo $this->doctype() ?>
<?php 
	$storage = new Zend_Auth_Storage_Session();
	$data = $storage->read();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
	
	<?php echo $this->headTitle() ?>
	<?php echo $this->headMeta() ?>
    <?php echo $this->headLink() ?>    
    <?php echo $this->headStyle() ?>
    <?php echo $this->headScript() ?>
    <?php $url = $this->baseUrl()?>
    
<link href="<?php echo $this->baseUrl();?>/application/templates/dashboard/css/font-awesome.css" rel="stylesheet">
    
</head>
<body>
<input type="hidden" id="url" value="<?php echo $url;?>" />
<div class="wraper sidebar-full"> 
	<aside class="social-sidebar sidebar-full">
	<div class="user-settings">
	<div class="arrow"></div>
	<h3 class="user-settings-title">Settings shortcuts</h3>
	<div class="user-settings-content">
	<a href="#my-profile">
	<div class="icon">
	<i class="icon-user"></i>
	</div>
	<div class="title">My Profile</div>
	<div class="content">View your profile</div>
	</a>
	<a href="#view-messages">
	<div class="icon">
	<i class="icon-envelope-alt"></i>
	</div>
	<div class="title">View Messages</div>
	<div class="content">You have <strong>17</strong> new messages</div>
	</a>
	<a href="#view-pending-tasks">
	<div class="icon">
	<i class="icon-tasks"></i>
	</div>
	<div class="title">View Tasks</div>
	<div class="content">You have <strong>8</strong> pending tasks</div>
	</a>
	</div>
	<div class="user-settings-footer">
	<a href="#more-settings">See more settings</a>
	</div>
	</div>
	<div class="social-sidebar-content">
	<div class="scrollable">
	<div>
	<div class="user">
	<img class="avatar" width="25" height="25" src="http://graph.facebook.com/<?php echo $data->uid;?>/picture" alt="<?php echo $data->displayname;?>" >
	<span data-toggle="dropdown"><?php echo $data->displayname;?></span>
	<i class="icon-user trigger-user-settings"></i>
	</div>	
	</div>
	<section class="menu">
	<div class="accordion" id="accordion2">
	<div class="accordion-group active">
	<div class="accordion-heading">
	<a class="accordion-toggle <?php if(@$_GET["opened"]=="app"):?>opened <?php endif;?>" href="<?php echo $url;?>/app/?opened=app">
	<img src="<?php echo $this->baseUrl();?>/application/templates/dashboard/images/icons/app.png" alt="Dashboard">
	<span>Công cụ </span></a>
	<a class="accordion-toggle <?php if(@$_GET["opened"]=="manage"):?>opened <?php endif;?>" href="<?php echo $url;?>/manage/?opened=manage">
	<img src="<?php echo $this->baseUrl();?>/application/templates/dashboard/images/icons/home.png" alt="Dashboard">
	<span>Đơn hàng </span></a>
	</div>
	</div>	
	</div>
	</section>
	</div>
	</div>
	</aside> <header>
	 
	<nav class="navbar navbar-blue navbar-fixed-top social-navbar" style="position:absolute;">
	<div class="navbar-inner">
	<div class="container-fluid">
	
	<a class="btn btn-navbar" data-toggle="collapse" data-target=".social-sidebar">
	<span class="icon-bar"></span>
	<span class="icon-bar"></span>
	<span class="icon-bar"></span>
	</a>
	<a class="brand" href="dashboard.html">
	Thietdep App
	</a>
	<ul class="nav pull-right nav-indicators">	
	<li class="dropdown">
	<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-caret-down"></i></a>
	<ul class="dropdown-menu">	
	<li><a href="<?php echo $url;?>/registration/auth/logout/"><i class="icon-off"></i> Log Out</a></li>
	<li class="divider"></li>
	<li><a href="#"><i class="icon-info-sign"></i> Help</a></li>
	</ul>
	</li>
	</ul>
	</div>
	</div>
	</nav> </header>
	<div id="main" style="margin-top: 40px;">
		<?php echo $this->layout()->content; ?>
		
	<footer id="footer" style="height:20px; margin-top:100px;">
	<div class="container-fluid">
		2013 © <em>Thietdep - App</em>.
	</div>
	</footer>
		
	</div>
	 
	</div>
</div>

</body>
</html>
 
